import axios from "@/utils/axios"

export default <Service>{

  view(data) {
    return axios({
      url: '/monitor/online/list',
      method: 'GET',
      data
    })
  },

  forceLogout(id) {
    return axios({
      url: `/monitor/online/${id}`,
      method: 'DELETE'
    })
  }
}